<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<style>
<!--
	
	.connectus_news{
		/* border:1px solid red; */
	}
	
	.connectus_news_position{
		/* margin-right:12%; */
		width:300px;
		float:left;
	}

-->
</style>
<script type="text/javascript" src="<%=path%>/resources/tips/qqonline.js"></script>
<script type="text/javascript">
<!--

	$(function(){
		initTopNews();
		/* initOnlineQQ(); */
		
	});
//-->
/**
 * 初始化在线qq
 */
function initOnlineQQ() {
	
	
	
	/* myEvent(window, 'load', function() {
		cs_box.set({
			qq : '3530511934', // 设置QQ号码
		});
	}); */
}
/* 初始化右部最新新闻  */
function initTopNews(){
	$.post(path+"newsAction_list.action",{
		rows:4,
		type:1
	},function(result){ 
		$(".data_body_news_block").empty();
		result=eval('('+result+')');

		for(var i=0;i<result.data.length;i++){
			var e=result.data[i];
			var $e=$("<div  class='news_each'><img alt='' src='<%=path%>"+e.imgUrl+"' class='img' style='width:60px;height:60px;border-radius:6px;float:left;'><div style='width:190px;height:60px;float:left;margin-left:10px;'><span><a href='javascript:showFontNewsDetails(\""+e.uuid+"\")'>"+e.title+"</a>（<small>"+moment(e.newsTime).format('20YY年MMMDo HH:mm')+"</small>）</span></div></div><div class='div2hr'></div>");
			$(".data_body_news_block").append($e);
		}
		
		
	});
}
</script>

<%--right connect us and news start --%>	 
<div class="connectus_news pull-right connectus_news_position">
 

	<%--connect us start --%>
	<div class="container-fluid divBlock25 connect_position">
				<div class="panel panel-default">
					<div class="panel-heading connect_company">
						<a href="javascript:void(0)">
							<span>Connect Us</span>
							&nbsp;&nbsp;
							<span class="panel-title">联系我们</span>
						</a>
					</div>
					<div class="panel-body ">
							
							<div class="connect_us">
								<img alt="" src="<%=path%>/images/lunbo/01.jpg" class="img img-circle" style="width:60px;height:60px;margin-left:40%;">
								<h4 class="toCenter">北京视盾科技发展有限公司</h4>
								<div class="connect_txt toCenter">
									<a id="cs_box">
										<img src="<%=path %>/images/font/qq.png" style="width:30px;height:30px;"/>
										<span class="cs_btn" id="sdkjonlineqq">在线QQ</span>
									</a>
								</div>
								<div class="connect_txt">
									<label>地址：</label>
									<span>北京市昌平区龙城花园N1E</span>
								</div>
								<div class="connect_txt">
									<label>电话：</label>
									<span>010-80758552</span>
								</div>
								<div class="connect_txt">
									<label>网址：</label>
									<span>http://www.bjsdkj.cn</span>
								</div>
							</div>
							
							
					</div>
					<div class="panel-footer">
						<span class="span_more"><!-- <a href="#">MORE >></a> --></span>
					</div>
				</div>
	</div>
	<%--connect us start --%>

	<%--news start --%>
	<div class="container-fluid divBlock25 connect_position">
				<div class="panel panel-default">
					<div class="panel-heading connect_company">
						<a href="javascript:void(0)">
						<span>News</span>
						&nbsp;&nbsp;
						<span class="panel-title">公司动态</span></a>
					</div>
					<div class="panel-body data_body_news_block">
							
					</div>
					<div class="panel-footer">
						<span class="span_more" style="margin-left:30%;"><!-- <a href="javascript:void(0)">MORE >></a> --></span>
					</div>
				</div>
			</div>
	<%--news start --%>
</div>
 
<%--right connect us and news end --%> 


